﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace schedulelist.ORM.domain
{
    public class Role : EntityBase
    {
        public Role() { }
        //public virtual int id_role 
        public virtual string name { get; set; }
        public virtual bool addt { get; set; }//addTickets
        public virtual bool eot { get; set; }//editOthersTickets
        public virtual bool uedit { get; set; }//editUser
        public virtual bool rd { get; set; }//read
        public virtual bool setstat { get; set; }//setStatus
        public virtual bool stat { get; set; }//Statistics
        public Role(string s1, bool b1,bool b2, bool b3, bool b4, bool b5, bool b6)
        {
            this.name=s1;
            this.addt = b1;
            this.eot = b2;
            this.uedit = b3;
            this.rd = b4;
            this.setstat = b5;
            this.stat = b6;
        }

    }
}
